html, body, #app {
  height: 100%;
}

.loading-skeleton {
  background-color: #e3e3e3;
  position: relative;
  &::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #e3e3e3 0%, rgba(0, 0, 0, 0.03) 25%, #e3e3e3 50%, #e3e3e3 100%);
    background-repeat: no-repeat;
    animation: shimmer 1s ease-out infinite;
  }
}
@keyframes shimmer {
  0% {
    background-position: -11.2rem 0;
  }
  100% {
    background-position: 11.2rem 0;
  }
}

.loading-bg {
  height: 100%;
}

.eli {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.two-eli {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; // 2行
}

.cont-item {
  margin-top: 0.4rem;
  background-color: #fff;
  padding-bottom: 0.4rem;
  &:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .cont-title {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    margin: 0 0.4rem;
    border-bottom: 1px solid #eaedef;
    font-weight: bold;

    & > .text {
      font-size: 0.4267rem;
      margin-left: 0.1333rem;
    }
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: all 0.3s;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

// .open-innerbox {
//   transition: all .5s;
//   overflow: hidden;
// }
// .zk {
//   max-height: 7rem;
//   opacity: 1;
// }
// .sq {
//   max-height: 0px;
//   opacity: 0;
// }

.toast-bottom {
  top: 80% !important;
}

.hero-list {
  padding: 0 .4rem;
  display: flex;
  flex-wrap: wrap;
  .hero-item {
    width: 20%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: .2133rem;
    img {
      width: 80%;
      aspect-ratio: 1;
    }
    p {
      margin-top: .2133rem;
      font-size: .32rem;
    }
  }
}

.navbar {
  $pdt: 1.2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: $pdt;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2f2f2f;
  padding: 0 0.4rem;
  z-index: 10;
  span {
    font-size: 0.3733rem;
    color: #fff;
  }
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../assets/spr.png') no-repeat;
  background-size: 2.5rem;
  width: 1.3333rem;
  aspect-ratio: 1;
  display: inline-block;
  background-position: -0.48rem -1.0133rem;
}

.detail-nav {
  box-sizing: border-box;
  background-color: #fff;
  position: fixed;
  width: 100%;
  top: 1.2rem;
  left: 0;
  font-size: .4267rem;
  border-bottom: 1px solid #d4d4d5;
  padding: .32rem .32rem;
  display: flex;
  align-items: center;
  z-index: 999;
  .back {
    font-weight: bold;
    color: #4394e4;
    padding-right: .32rem;
  }
  .title {
    line-height: 1.3;
    font-weight: bold;
    flex: 1;
    color: #4394e4;
  }
}

@keyframes txtshow {
	from {
		opacity: 0;
		transform: translateX(-100px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

// 自定义 NProgress 
#nprogress .bar {
  // background: #F811B2 !important; //自定义颜色
  height: .08rem;
  max-height: 5px;
}